<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>京东顶部导航条</title>
    <link rel="stylesheet" href="./css/reset.css">
    <link rel="stylesheet" href="./font/iconfont.css">
    <style>
        body{
            font: 14px/2 Microsoft YaHei,serif;
            /* color: #999; */
        }
        .top-bar-wrapper{
            width: 100%;
            background-color: #e3e4e5; 
            height: 30px;
            line-height: 30px;
            border-bottom: 1px solid #000;

        }

        .top-bar{
            width: 1190px;
            margin: 0 auto;
        }

        .top-bar a:hover,
        .top-bar a.highlight{
            color: #f10215;
        }

        .location{
            float: left;
        }
        .shortcut{
            float: right;
        }

        /* 设置li */
        .shortcut li{
            float: left;

        }

        /* 设置分割线 */
        .shortcut .line{
            width: 1px;
            height: 10px;
            background-color: #999;
            margin: 10px 12px;
        }

        .top-bar a,
        .top-bar span,
        .top-bar i{
            color:#999;
            text-decoration: none;

        }
    </style>
</head>
<body>
    <div class="top-bar-wrapper">
        <div class="top-bar">
            <div class="location">
                <div class="current-city">
                    <a href="javascript:;">北京</a>
                </div>
            </div>
            <div class="shortcut">
                <ul>
                    <li>
                        <a href="javascript:;">你好，请登录</a>
                        <a href="javascript:;" class="highlight">免费注册</a>
                    </li>
                    <li class="line"></li>
                    <li><a href="javascript:;">我的订单</a></li>
                    <li class="line"></li>
                    <li><a href="javascript:;">我的京东</a><i class="iconfont icon-arrow-down"></i></li>
                    <li class="line"></li>
                    <li><a href="javascript:;">京东会员</a></li>
                    <li class="line"></li>
                    <li>
                        <a href="javascript:;" class="highlight">企业采购</a>
                        <i class="iconfont icon-arrow-down"></i>
                    </li>
                    <li class="line"></li>
                    <li>
                        <span>客户服务</span>
                        <i class="iconfont icon-arrow-down"></i>
                    </li>
                    <li class="line"></li>
                    <li>
                        <span>网站导航</span>
                        <i class="iconfont icon-arrow-down"></i>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</body>
</html>